package com.gp.learn.ssm.base.system.service;

import com.gp.learn.ssm.base.core.security.model.UserInfo;
import com.gp.learn.ssm.base.system.entity.BaseUser;
import com.gp.learn.ssm.base.core.mybaits.base.service.IBaseService;

/**
 * 系统用户-基础信息 服务类
 * @author gp
 * @since 2020-07-24
 */
public interface BaseUserService extends IBaseService<BaseUser> {

    /**
     * 获取用户权限
      * @param userId
     * @return
     */
   UserInfo getUserWithAuthoritiesById(Long userId);

}
